package com.market.mapper;

import com.market.entity.Department;
import com.market.entity.Worker;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * @author :  KanShan
 * @version : 1.8
 * @Date: 2021/11/29/15:40
 * @注释 :
 */
public interface DepartmentMapper {
    int insert(@Param("department") Department department);

    int delete(@Param("id")Long id);

    int update(@Param("department")Department department);

    List<Department>selectListByIdOrName(@Param("string") String string);


    List<Department> selectList();

//    List<Department>select();

    List<Department>selects();

}